/*	春天:0,夏天:1,秋天:2,冬天:3
 *	编程从键盘得到一个0到3的整数,把对应的季节名称打印在屏幕上	
 */

#include<stdio.h>

int main () {
	printf("输入季节(春天:0,夏天:1,秋天:2,冬天:3):");
	int season = 0;
	scanf("%d", &season);
	switch (season) {
		case 0:
			printf("春\n");
			break;
		case 1:
			printf("夏\n");
			break;
		case 2:
			printf("秋\n");
			break;
		case 3:
			printf("冬\n");
			break;
		default:
			printf("非法数字\n");
			break;
	}
	return 0;
}
